package com.myway.dto.ibe_param;

import java.io.Serializable;

/**
 * Created by yufei on 2018/7/22.
 */
public class PreferencesParam implements Serializable {

    private boolean changeable;

    private boolean refundable;

    private boolean upgradable;

    private CabinsParam cabins;

    private boolean downsell;

    private boolean upsell;

    private boolean noCodeShare = true;

    private boolean noOvernightStay;

    private String[] faresAllowedCarriers;

    public PreferencesParam() {
    }

    public String[] getFaresAllowedCarriers() {
        return faresAllowedCarriers;
    }

    public void setFaresAllowedCarriers(String[] faresAllowedCarriers) {
        this.faresAllowedCarriers = faresAllowedCarriers;
    }

    public boolean isChangeable() {
        return changeable;
    }

    public void setChangeable(boolean changeable) {
        this.changeable = changeable;
    }

    public boolean isRefundable() {
        return refundable;
    }

    public void setRefundable(boolean refundable) {
        this.refundable = refundable;
    }

    public boolean isUpgradable() {
        return upgradable;
    }

    public void setUpgradable(boolean upgradable) {
        this.upgradable = upgradable;
    }

    public CabinsParam getCabins() {
        return cabins;
    }

    public void setCabins(CabinsParam cabins) {
        this.cabins = cabins;
    }

    public boolean isDownsell() {
        return downsell;
    }

    public void setDownsell(boolean downsell) {
        this.downsell = downsell;
    }

    public boolean isUpsell() {
        return upsell;
    }

    public void setUpsell(boolean upsell) {
        this.upsell = upsell;
    }

    public boolean isNoCodeShare() {
        return noCodeShare;
    }

    public void setNoCodeShare(boolean noCodeShare) {
        this.noCodeShare = noCodeShare;
    }

    public boolean isNoOvernightStay() {
        return noOvernightStay;
    }

    public void setNoOvernightStay(boolean noOvernightStay) {
        this.noOvernightStay = noOvernightStay;
    }
}
